---
--类名: CameraZoomEvent.lua
--创建日期: 2015-6-8
--创建人: 陈小虎
--功能描述: 屏幕缩放事件
--修改内容：
--修改日期:   
--修改人:     
--修改备注: 
--

local Event = import(".Event")

local CameraZoomEvent = class("CameraZoomEvent",function()
    return Event.new()
end)

function CameraZoomEvent:ctor(params)
	self:setEventName(params.event)

	self.mDelayTime = params.delayTime or 0

	self.mFocusId = params.focusId
	self.mScale = params.scale and params.scale / 100 or 1
	self.mTime = params.time or 0.5
	self.mUseTime = params.focusUseTime
	self.mCameraFollow = (params.enter == 1) and true or false
end

return CameraZoomEvent